﻿package ca.newcommerce.youtube.events 
{
	import flash.events.Event;
	/**
	 * ...
	 * @author Martin Legris ( http://blog.martinlegris.com )
	 */
	public class FileUploadEvent extends Event
	{
		public static const UPLOAD_SUCCEEDED:String = "file_upload_succeeded_event";
		public static const UPLOAD_FAILED:String = "file_upload_failed_event";
		public static const TOKEN_READY:String = "file_upload_token_ready_event";
		
		protected var _msg:String;
		public function get msg():String { return _msg; }
		
		protected var _id:String;
		public function get id():String { return _id; }
		
		public function FileUploadEvent(type:String, id:String = null, msg:String = null ) 
		{
			super(type);
			_id = id;
			_msg = msg;
		}
	}
}